package com.theone.module.demo.controller.admin.testone.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import com.alibaba.excel.annotation.ExcelProperty;
import com.theone.framework.excel.core.annotations.DictFormat;
import com.theone.framework.excel.core.convert.DictConvert;


/**
 * 第一个测试 Excel VO
 *
 * @author 芋道源码
 */
@Data
public class TestOneExcelVO {

    @ExcelProperty("id")
    private Long id;

    @ExcelProperty("名字")
    private String name;

    @ExcelProperty("文件")
    private String files;

    @ExcelProperty("描述")
    private String description;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("testOneStatusEnum") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("创建时间")
    private Date createTime;

}
